<template>
	<view class="content">
		<!-- 		<view class="sb">
			<image class="image_11X1" src="/static/国徽.webp"></image>
		</view>
		
		<text class="text_148X1">延边朝鲜族自治州委政法委</text> -->
		<!-- 		<view class="zt">
			<view class="jb">涉黑涉恶线索举报</view>
			<view class="ts">(注意:标有 * 的必须填写)</view>	
		</view> --> 

		<view class="person">
			<text class="bt">举报人信息</text>
		</view>
		<view class="border">
			<view style="width: 100%;margin-left: 5%;margin-top: 1%;margin-bottom: 5%;">
				<view class="title" style="margin-right: 10px;margin-top:3%;">姓名
					<text style="color: red;margin-left: 1%;">*</text>
				</view>
				<input type="text" class="input-field" placeholder="您的真实姓名" />
				<view class="title" style="margin-right: 10px;margin-top:3%;">身份证号
					<text style="color: red;margin-left: 1%;">*</text>
				</view>
				<input type="text" class="input-field" placeholder="您的身份证号" />
				<view class="title" style="margin-right: 10px;margin-top:3%;">居住地
					<text style="color: red;margin-left: 1%;">*</text>
				</view>
				<input type="text" class="input-field" placeholder="您的居住地" />
				<view class="title" style="margin-right: 10px;margin-top:3%;">联系方式
					<text style="color: red;margin-left: 1%;">*</text>
				</view>
				<input type="text" class="input-field" placeholder="您的联系方式" />
			</view>
		</view>
		<view class="person">
			<text class="bt">被举报人(单位)信息</text>
		</view>
		<view class="border">
			<view style="width: 100%;margin-left: 5%;margin-top: 1%;margin-bottom: 5%;">
				<view class="title" style="margin-right: 10px;margin-top:3%;">被举报人
					<text style="color: red;margin-left: 1%;">*</text>
				</view>
				<input type="text" class="input-field" placeholder="请输入被举报人" />
				<view class="title" style="margin-right: 10px;margin-top:3%;">单位
					<text style="color: red;margin-left: 1%;">*</text>
				</view>
				<input type="text" class="input-field" placeholder="请输入单位" />
				<view class="title" style="margin-right: 10px;margin-top:3%;">职务
					<text style="color: red;margin-left: 1%;">*</text>
				</view>
				<input type="text" class="input-field" placeholder="请输入职务" />
				<view class="title" style="margin-right: 10px;margin-top:3%;">级别
					<text style="color: red;margin-left: 1%;">*</text>
				</view>
				<input type="text" class="input-field" placeholder="请输入级别" />
			</view>
		</view>
		<view class="person">
			<text class="bt">举报正文</text>
		</view>
		<view class="border">
			<view style="width: 100%;margin-left: 5%;margin-top: 1%;margin-bottom: 5%;">
				<view class="title" style="margin-right: 10px;margin-top:3%;">标题
					<text style="color: red;margin-left: 1%;">*</text>
				</view>
				<input type="text" class="input-field" placeholder="标题" />
				<view class="title" style="margin-right: 10px;margin-top:3%;">问题类别
					<text style="color: red;margin-left: 1%;">*</text>
				</view>
				<input type="text" class="input-field" placeholder="您的身份证号" />
				<view class="title" style="margin-right: 10px;margin-top:3%;">主要问题
					<text style="color: red;margin-left: 1%;">*</text>
				</view>
				<textarea class="zywt"></textarea>
				<view style="justify-content: center; align-items: center;">
					<button class="sc" @click="shfj()">上传附件</button>
				</view>
				<view class="text1">
					<view>
						温馨提示：最多可同时上传4个文件，每个文件只允许上传5M大小。附件仅限于文件名
					</view>
					<view>
						后缀为.jpg、.png、.gif、.jpeg、,tiff、.svg的文件，禁止exe、bat等格式文件上传！
					</view>
				</view>

			</view>
		</view>
		<view class="footer">
			<button class="button1" @click="nmjb()">实名举报</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
				queryParams: {
					// pageNo: 1,
					// pageSize: 10,
					acceptSituation: 0 // 受理情况(0重复举报,1已受理,2已办结,3不予受理)
				},

			}
		},

		onload() {
			this.getList();
		},
		methods: {

			async getList() {
				try {
					const res = await ReportingApi.getReportingPage(this.queryParams);
					console.info(res.data)
				} finally {

				}
			},

		}
	}
</script>

<style>
	.jb {
		margin-top: 4%;
		text-align: center;
		font-weight: bold;
	}

	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.sb {
		top: 100px;
		width: 414px;
		height: 65px;
		top: -4px;
		color: rgba(80, 80, 80, 1);
		background-color: rgba(51, 103, 153, 1);
		font-size: 18px;
		line-height: center;
		text-align: center;
		flex-direction: column;
		/* 设置为列方向布局 */
		align-items: center;
		/* 垂直居中 */
		justify-content: center;
		/* 水平居中（但在这里我们主要关心垂直居中，所以可能需要调整） */
	}

	.image_11X1 {
		width: 30px;
		height: 30px;
		left: -40%;
		top: 24px;
	}

	.text_148X1 {
		margin-top: -10%;
		width: auto;
		height: 33px;
		left: 51px;
		top: 55px;
		color: rgba(255, 255, 255, 1);
		text-shadow: rgba(0, 0, 0, 0.5) 0px 2px 2px;
		font-size: 18px;
		line-height: 150%;
		text-align: left;
		font-weight: bold;
		padding-right: 80px;
	}

	.zt {
		width: 100%;
	}

	.ts {
		margin-top: 3%;
		margin-left: 56%;
	}

	.person {
		/* text-align: center; */
		width: 100%;
		margin-top: 5%;
		margin-left: 17%;
		font-weight: bold;
		font-size: 14px;
	}

	.bt {
		color: rgba(51, 103, 153, 1);
		font-size: 16px;
	}

	.input-field {
		width: 90%;
		/* 或者你需要的宽度 */
		border: 1px solid #ccc;
		/* 添加边框 */
		padding: 1px;
		/* 添加内边距，使输入框看起来更舒适 */
		border-radius: 5px;
		margin-top: 2%;
		height: 30px;
		font-size: 14px;
		padding-left: 11px;
	}

	.title {
		font-size: 14px;
		color: #888685;
	}

	.border {
		margin-top: 2%;
		border-radius: 10px;
		width: 90%;
		background-color: white;
	}

	.button1 {
		width: auto;
		height: 35px;
		/* padding: 10px 10px; */
		margin-top: 8%;
		margin-bottom: 5%;
		border: none;
		border-radius: 5px;
		background-color: #0082df;
		color: white;
		font-size: 16px;
		cursor: pointer;
	}

	.sc {
		margin-top: 5%;
		justify-content: center;
		align-items: center;
		display: flex;
		background-color: #0082df;
		width: 80px;
		font-size: 11px;
		color: white;
		margin-left: 1%;
		height: 25px;
		text-align: center;
	}

	.footer {
		width: 90%;
	}

	.text1 {
		margin-top: 3%;
		width: 90%;
		color: #0082df;
		margin-bottom: 5%;
	}

	.zywt {
		width: 90%;
		border: 1px solid #ccc;
		/* 添加边框 */
		padding: 1px;
		/* 添加内边距，使输入框看起来更舒适 */
		border-radius: 5px;
		margin-top: 2%;
		font-size: 14px;
		padding-left: 11px;
	}
</style>